<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/taglibs.jsp" %>

<h1>
	Login:
</h1>
<br />
<br />

<c:url var="loginUrl" value="/j_spring_security_check" />
<form name='f' action='${loginUrl}' method='POST'>
  
<table collspadding="0px" border="0px" width="800px">
	<spring:hasBindErrors name="user">
	<tr>
		<td>
			<div class="error">Error happened!</div>
		</td>
	</tr>
	</spring:hasBindErrors>
</table>


<table  collspadding="0px" border="0px" width="800px">
	<tr>
		<td width="200px">
			<fmt:message key="login.user" />:
		</td>
		<td width="200px">
			<input type='text' name='j_username' value=''>
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>
	
	<tr>
		<td width="200px">
			<fmt:message key="login.password" />:
		</td>
		<td width="200px">
			<input type='password' name='j_password'/>
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>
	<tr>
		<td width="200px">
			<fmt:message key="login.rememberme" />:
		</td>
		<td width="200px" align="left">
			<input type='checkbox' name='_spring_security_remember_me' id='_spring_security_remember_me'/>
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>
	
	<tr>
		<td width="200px">
			<input name="submit" type="submit" value="<fmt:message key="button.login" />"/>
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>
</table>  
  
</form>
